package com.demo.jFinalAndShiroDemo.web;

import java.util.Arrays;
import java.util.List;

import com.demo.jFinalAndShiroDemo.model.User;
import com.jfinal.core.Controller;

public class UserController extends Controller {
	private static final List<User> users = Arrays.asList(new User("admin"),new User("zhang"),new User("admin"),new User("li"));
	
	public void index() {
		renderJson(users);
	}
	
}
